package com.desksoft.ecommerce.entity.mall.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.desksoft.ecommerce.base.Entity;

public class AdvlistExample implements Entity {
    /**
	 * 
	 */
	private static final long serialVersionUID = -5143171915863446689L;

	 protected String orderByClause;

	    protected boolean distinct;

	    protected List<Criteria> oredCriteria;

	    public AdvlistExample() {
	        oredCriteria = new ArrayList<Criteria>();
	    }

	    public void setOrderByClause(String orderByClause) {
	        this.orderByClause = orderByClause;
	    }

	    public String getOrderByClause() {
	        return orderByClause;
	    }

	    public void setDistinct(boolean distinct) {
	        this.distinct = distinct;
	    }

	    public boolean isDistinct() {
	        return distinct;
	    }

	    public List<Criteria> getOredCriteria() {
	        return oredCriteria;
	    }

	    public void or(Criteria criteria) {
	        oredCriteria.add(criteria);
	    }

	    public Criteria or() {
	        Criteria criteria = createCriteriaInternal();
	        oredCriteria.add(criteria);
	        return criteria;
	    }

	    public Criteria createCriteria() {
	        Criteria criteria = createCriteriaInternal();
	        if (oredCriteria.size() == 0) {
	            oredCriteria.add(criteria);
	        }
	        return criteria;
	    }

	    protected Criteria createCriteriaInternal() {
	        Criteria criteria = new Criteria();
	        return criteria;
	    }

	    public void clear() {
	        oredCriteria.clear();
	        orderByClause = null;
	        distinct = false;
	    }

	    protected abstract static class GeneratedCriteria {
	        protected List<Criterion> criteria;

	        protected GeneratedCriteria() {
	            super();
	            criteria = new ArrayList<Criterion>();
	        }

	        public boolean isValid() {
	            return criteria.size() > 0;
	        }

	        public List<Criterion> getAllCriteria() {
	            return criteria;
	        }

	        public List<Criterion> getCriteria() {
	            return criteria;
	        }

	        protected void addCriterion(String condition) {
	            if (condition == null) {
	                throw new RuntimeException("Value for condition cannot be null");
	            }
	            criteria.add(new Criterion(condition));
	        }

	        protected void addCriterion(String condition, Object value, String property) {
	            if (value == null) {
	                throw new RuntimeException("Value for " + property + " cannot be null");
	            }
	            criteria.add(new Criterion(condition, value));
	        }

	        protected void addCriterion(String condition, Object value1, Object value2, String property) {
	            if (value1 == null || value2 == null) {
	                throw new RuntimeException("Between values for " + property + " cannot be null");
	            }
	            criteria.add(new Criterion(condition, value1, value2));
	        }

	        public Criteria andListidIsNull() {
	            addCriterion("listId is null");
	            return (Criteria) this;
	        }

	        public Criteria andListidIsNotNull() {
	            addCriterion("listId is not null");
	            return (Criteria) this;
	        }

	        public Criteria andListidEqualTo(Long value) {
	            addCriterion("listId =", value, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andListidNotEqualTo(Long value) {
	            addCriterion("listId <>", value, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andListidGreaterThan(Long value) {
	            addCriterion("listId >", value, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andListidGreaterThanOrEqualTo(Long value) {
	            addCriterion("listId >=", value, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andListidLessThan(Long value) {
	            addCriterion("listId <", value, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andListidLessThanOrEqualTo(Long value) {
	            addCriterion("listId <=", value, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andListidIn(List<Long> values) {
	            addCriterion("listId in", values, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andListidNotIn(List<Long> values) {
	            addCriterion("listId not in", values, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andListidBetween(Long value1, Long value2) {
	            addCriterion("listId between", value1, value2, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andListidNotBetween(Long value1, Long value2) {
	            addCriterion("listId not between", value1, value2, "listid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidIsNull() {
	            addCriterion("parnetId is null");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidIsNotNull() {
	            addCriterion("parnetId is not null");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidEqualTo(String value) {
	            addCriterion("parnetId =", value, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidNotEqualTo(String value) {
	            addCriterion("parnetId <>", value, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidGreaterThan(String value) {
	            addCriterion("parnetId >", value, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidGreaterThanOrEqualTo(String value) {
	            addCriterion("parnetId >=", value, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidLessThan(String value) {
	            addCriterion("parnetId <", value, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidLessThanOrEqualTo(String value) {
	            addCriterion("parnetId <=", value, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidLike(String value) {
	            addCriterion("parnetId like", value, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidNotLike(String value) {
	            addCriterion("parnetId not like", value, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidIn(List<String> values) {
	            addCriterion("parnetId in", values, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidNotIn(List<String> values) {
	            addCriterion("parnetId not in", values, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidBetween(String value1, String value2) {
	            addCriterion("parnetId between", value1, value2, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andParnetidNotBetween(String value1, String value2) {
	            addCriterion("parnetId not between", value1, value2, "parnetid");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleIsNull() {
	            addCriterion("advTitle is null");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleIsNotNull() {
	            addCriterion("advTitle is not null");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleEqualTo(String value) {
	            addCriterion("advTitle =", value, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleNotEqualTo(String value) {
	            addCriterion("advTitle <>", value, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleGreaterThan(String value) {
	            addCriterion("advTitle >", value, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleGreaterThanOrEqualTo(String value) {
	            addCriterion("advTitle >=", value, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleLessThan(String value) {
	            addCriterion("advTitle <", value, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleLessThanOrEqualTo(String value) {
	            addCriterion("advTitle <=", value, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleLike(String value) {
	            addCriterion("advTitle like", value, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleNotLike(String value) {
	            addCriterion("advTitle not like", value, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleIn(List<String> values) {
	            addCriterion("advTitle in", values, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleNotIn(List<String> values) {
	            addCriterion("advTitle not in", values, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleBetween(String value1, String value2) {
	            addCriterion("advTitle between", value1, value2, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andAdvtitleNotBetween(String value1, String value2) {
	            addCriterion("advTitle not between", value1, value2, "advtitle");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountIsNull() {
	            addCriterion("clickCount is null");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountIsNotNull() {
	            addCriterion("clickCount is not null");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountEqualTo(Short value) {
	            addCriterion("clickCount =", value, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountNotEqualTo(Short value) {
	            addCriterion("clickCount <>", value, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountGreaterThan(Short value) {
	            addCriterion("clickCount >", value, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountGreaterThanOrEqualTo(Short value) {
	            addCriterion("clickCount >=", value, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountLessThan(Short value) {
	            addCriterion("clickCount <", value, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountLessThanOrEqualTo(Short value) {
	            addCriterion("clickCount <=", value, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountIn(List<Short> values) {
	            addCriterion("clickCount in", values, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountNotIn(List<Short> values) {
	            addCriterion("clickCount not in", values, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountBetween(Short value1, Short value2) {
	            addCriterion("clickCount between", value1, value2, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andClickcountNotBetween(Short value1, Short value2) {
	            addCriterion("clickCount not between", value1, value2, "clickcount");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoIsNull() {
	            addCriterion("seqNo is null");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoIsNotNull() {
	            addCriterion("seqNo is not null");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoEqualTo(Short value) {
	            addCriterion("seqNo =", value, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoNotEqualTo(Short value) {
	            addCriterion("seqNo <>", value, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoGreaterThan(Short value) {
	            addCriterion("seqNo >", value, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoGreaterThanOrEqualTo(Short value) {
	            addCriterion("seqNo >=", value, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoLessThan(Short value) {
	            addCriterion("seqNo <", value, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoLessThanOrEqualTo(Short value) {
	            addCriterion("seqNo <=", value, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoIn(List<Short> values) {
	            addCriterion("seqNo in", values, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoNotIn(List<Short> values) {
	            addCriterion("seqNo not in", values, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoBetween(Short value1, Short value2) {
	            addCriterion("seqNo between", value1, value2, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andSeqnoNotBetween(Short value1, Short value2) {
	            addCriterion("seqNo not between", value1, value2, "seqno");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlIsNull() {
	            addCriterion("imageUrl is null");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlIsNotNull() {
	            addCriterion("imageUrl is not null");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlEqualTo(String value) {
	            addCriterion("imageUrl =", value, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlNotEqualTo(String value) {
	            addCriterion("imageUrl <>", value, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlGreaterThan(String value) {
	            addCriterion("imageUrl >", value, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlGreaterThanOrEqualTo(String value) {
	            addCriterion("imageUrl >=", value, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlLessThan(String value) {
	            addCriterion("imageUrl <", value, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlLessThanOrEqualTo(String value) {
	            addCriterion("imageUrl <=", value, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlLike(String value) {
	            addCriterion("imageUrl like", value, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlNotLike(String value) {
	            addCriterion("imageUrl not like", value, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlIn(List<String> values) {
	            addCriterion("imageUrl in", values, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlNotIn(List<String> values) {
	            addCriterion("imageUrl not in", values, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlBetween(String value1, String value2) {
	            addCriterion("imageUrl between", value1, value2, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andImageurlNotBetween(String value1, String value2) {
	            addCriterion("imageUrl not between", value1, value2, "imageurl");
	            return (Criteria) this;
	        }

	        public Criteria andUrlIsNull() {
	            addCriterion("url is null");
	            return (Criteria) this;
	        }

	        public Criteria andUrlIsNotNull() {
	            addCriterion("url is not null");
	            return (Criteria) this;
	        }

	        public Criteria andUrlEqualTo(String value) {
	            addCriterion("url =", value, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlNotEqualTo(String value) {
	            addCriterion("url <>", value, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlGreaterThan(String value) {
	            addCriterion("url >", value, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlGreaterThanOrEqualTo(String value) {
	            addCriterion("url >=", value, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlLessThan(String value) {
	            addCriterion("url <", value, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlLessThanOrEqualTo(String value) {
	            addCriterion("url <=", value, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlLike(String value) {
	            addCriterion("url like", value, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlNotLike(String value) {
	            addCriterion("url not like", value, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlIn(List<String> values) {
	            addCriterion("url in", values, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlNotIn(List<String> values) {
	            addCriterion("url not in", values, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlBetween(String value1, String value2) {
	            addCriterion("url between", value1, value2, "url");
	            return (Criteria) this;
	        }

	        public Criteria andUrlNotBetween(String value1, String value2) {
	            addCriterion("url not between", value1, value2, "url");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeIsNull() {
	            addCriterion("advDescribe is null");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeIsNotNull() {
	            addCriterion("advDescribe is not null");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeEqualTo(String value) {
	            addCriterion("advDescribe =", value, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeNotEqualTo(String value) {
	            addCriterion("advDescribe <>", value, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeGreaterThan(String value) {
	            addCriterion("advDescribe >", value, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeGreaterThanOrEqualTo(String value) {
	            addCriterion("advDescribe >=", value, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeLessThan(String value) {
	            addCriterion("advDescribe <", value, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeLessThanOrEqualTo(String value) {
	            addCriterion("advDescribe <=", value, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeLike(String value) {
	            addCriterion("advDescribe like", value, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeNotLike(String value) {
	            addCriterion("advDescribe not like", value, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeIn(List<String> values) {
	            addCriterion("advDescribe in", values, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeNotIn(List<String> values) {
	            addCriterion("advDescribe not in", values, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeBetween(String value1, String value2) {
	            addCriterion("advDescribe between", value1, value2, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andAdvdescribeNotBetween(String value1, String value2) {
	            addCriterion("advDescribe not between", value1, value2, "advdescribe");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateIsNull() {
	            addCriterion("startDate is null");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateIsNotNull() {
	            addCriterion("startDate is not null");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateEqualTo(Date value) {
	            addCriterion("startDate =", value, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateNotEqualTo(Date value) {
	            addCriterion("startDate <>", value, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateGreaterThan(Date value) {
	            addCriterion("startDate >", value, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateGreaterThanOrEqualTo(Date value) {
	            addCriterion("startDate >=", value, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateLessThan(Date value) {
	            addCriterion("startDate <", value, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateLessThanOrEqualTo(Date value) {
	            addCriterion("startDate <=", value, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateIn(List<Date> values) {
	            addCriterion("startDate in", values, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateNotIn(List<Date> values) {
	            addCriterion("startDate not in", values, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateBetween(Date value1, Date value2) {
	            addCriterion("startDate between", value1, value2, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andStartdateNotBetween(Date value1, Date value2) {
	            addCriterion("startDate not between", value1, value2, "startdate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateIsNull() {
	            addCriterion("endDate is null");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateIsNotNull() {
	            addCriterion("endDate is not null");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateEqualTo(Date value) {
	            addCriterion("endDate =", value, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateNotEqualTo(Date value) {
	            addCriterion("endDate <>", value, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateGreaterThan(Date value) {
	            addCriterion("endDate >", value, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateGreaterThanOrEqualTo(Date value) {
	            addCriterion("endDate >=", value, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateLessThan(Date value) {
	            addCriterion("endDate <", value, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateLessThanOrEqualTo(Date value) {
	            addCriterion("endDate <=", value, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateIn(List<Date> values) {
	            addCriterion("endDate in", values, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateNotIn(List<Date> values) {
	            addCriterion("endDate not in", values, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateBetween(Date value1, Date value2) {
	            addCriterion("endDate between", value1, value2, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andEnddateNotBetween(Date value1, Date value2) {
	            addCriterion("endDate not between", value1, value2, "enddate");
	            return (Criteria) this;
	        }

	        public Criteria andIdIsNull() {
	            addCriterion("Id is null");
	            return (Criteria) this;
	        }

	        public Criteria andIdIsNotNull() {
	            addCriterion("Id is not null");
	            return (Criteria) this;
	        }

	        public Criteria andIdEqualTo(String value) {
	            addCriterion("Id =", value, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdNotEqualTo(String value) {
	            addCriterion("Id <>", value, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdGreaterThan(String value) {
	            addCriterion("Id >", value, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdGreaterThanOrEqualTo(String value) {
	            addCriterion("Id >=", value, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdLessThan(String value) {
	            addCriterion("Id <", value, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdLessThanOrEqualTo(String value) {
	            addCriterion("Id <=", value, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdLike(String value) {
	            addCriterion("Id like", value, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdNotLike(String value) {
	            addCriterion("Id not like", value, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdIn(List<String> values) {
	            addCriterion("Id in", values, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdNotIn(List<String> values) {
	            addCriterion("Id not in", values, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdBetween(String value1, String value2) {
	            addCriterion("Id between", value1, value2, "id");
	            return (Criteria) this;
	        }

	        public Criteria andIdNotBetween(String value1, String value2) {
	            addCriterion("Id not between", value1, value2, "id");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeIsNull() {
	            addCriterion("categoryCode is null");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeIsNotNull() {
	            addCriterion("categoryCode is not null");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeEqualTo(String value) {
	            addCriterion("categoryCode =", value, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeNotEqualTo(String value) {
	            addCriterion("categoryCode <>", value, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeGreaterThan(String value) {
	            addCriterion("categoryCode >", value, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeGreaterThanOrEqualTo(String value) {
	            addCriterion("categoryCode >=", value, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeLessThan(String value) {
	            addCriterion("categoryCode <", value, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeLessThanOrEqualTo(String value) {
	            addCriterion("categoryCode <=", value, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeLike(String value) {
	            addCriterion("categoryCode like", value, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeNotLike(String value) {
	            addCriterion("categoryCode not like", value, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeIn(List<String> values) {
	            addCriterion("categoryCode in", values, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeNotIn(List<String> values) {
	            addCriterion("categoryCode not in", values, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeBetween(String value1, String value2) {
	            addCriterion("categoryCode between", value1, value2, "categorycode");
	            return (Criteria) this;
	        }

	        public Criteria andCategorycodeNotBetween(String value1, String value2) {
	            addCriterion("categoryCode not between", value1, value2, "categorycode");
	            return (Criteria) this;
	        }
	    }

	    public static class Criteria extends GeneratedCriteria {

	        protected Criteria() {
	            super();
	        }
	    }

	    public static class Criterion {
	        private String condition;

	        private Object value;

	        private Object secondValue;

	        private boolean noValue;

	        private boolean singleValue;

	        private boolean betweenValue;

	        private boolean listValue;

	        private String typeHandler;

	        public String getCondition() {
	            return condition;
	        }

	        public Object getValue() {
	            return value;
	        }

	        public Object getSecondValue() {
	            return secondValue;
	        }

	        public boolean isNoValue() {
	            return noValue;
	        }

	        public boolean isSingleValue() {
	            return singleValue;
	        }

	        public boolean isBetweenValue() {
	            return betweenValue;
	        }

	        public boolean isListValue() {
	            return listValue;
	        }

	        public String getTypeHandler() {
	            return typeHandler;
	        }

	        protected Criterion(String condition) {
	            super();
	            this.condition = condition;
	            this.typeHandler = null;
	            this.noValue = true;
	        }

	        protected Criterion(String condition, Object value, String typeHandler) {
	            super();
	            this.condition = condition;
	            this.value = value;
	            this.typeHandler = typeHandler;
	            if (value instanceof List<?>) {
	                this.listValue = true;
	            } else {
	                this.singleValue = true;
	            }
	        }

	        protected Criterion(String condition, Object value) {
	            this(condition, value, null);
	        }

	        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
	            super();
	            this.condition = condition;
	            this.value = value;
	            this.secondValue = secondValue;
	            this.typeHandler = typeHandler;
	            this.betweenValue = true;
	        }

	        protected Criterion(String condition, Object value, Object secondValue) {
	            this(condition, value, secondValue, null);
	        }
	    }
}